home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 October / maximum-cd-2001-10.iso / Utilities / WinHacker / wh95v203.exe / Disk1 / data1.cab / Plugins / Example - INI Files.wh < prev    next >
Encoding:
Text File  |  1999-10-31  |  947 b   |  40 lines

  1. // WinHacker Script
  2. // Copyright (c) 1996 Wedge Software
  3. //
  4. // Example INI script
  5. //
  6. // For best testing results, put a "file.ini" file (blank)
  7. // into the c:\ directory.
  8. //
  9. // The file will be created if not there (using the direct method,
  10. // putting "c:\" in the location, and "file.ini" as the file.
  11. // The user can create it also by putting "file.ini" in the Open
  12. // dialog box (in the file space), even though it is not there.
  13. //
  14. // You can use 2 actions, Write and Delete
  15. //
  16.  
  17. [Main]
  18. Desc = Full INI file example
  19. // Ask = Click on NO, this is not meant to be run!
  20. // StartMessage = This is a start message.
  21. // ExitMessage = This is a exit message.
  22.  
  23. [Ini]
  24. Procs = 1
  25.  
  26. // Create the file if not there
  27.  
  28. [IniProc#1]
  29. // Ask = Run IniProc#1?
  30. File = (DialogAskFolder#1)
  31. Section = Junk Section
  32. Item = Junk
  33. Action = Write
  34. Value = This was written just to create the file...
  35.  
  36. [DialogAskFolder#1]
  37. Append=file.ini
  38.  
  39.  
  40.